// $codepro.audit.disable packagePrefixNamingConvention, com.instantiations.assist.eclipse.analysis.audit.rule.effectivejava.alwaysOverridetoString.alwaysOverrideToString
/**
 * Package domain
 */
package teamrocket.domain;

import java.io.Serializable;
import java.util.logging.Level;

import teamrocket.logging.TLogger;

/**
 * Represents a set of vital signs in the database
 * @author Stephen
 *
 * @version $Revision: 1.0 $
 */
public class VitalSigns implements Serializable{
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	
	/**
	 * Field bloodPressure.
	 */
	private int bloodPressure;
	
	/**
	 * Field pulse.
	 */
	private int pulse;
	
	/**
	 * Field temp.
	 */
	private double temp;
	
	/**
	 * Field height.
	 */
	private int height;
	
	/**
	 * Field weight.
	 */
	private float weight;
	
	/**
	 * Constructs a vital signs object in memory
	 * @param bloodPressure
	 * @param pulse
	 * @param temp
	 * @param height
	 * @param weight
	 */
	public VitalSigns(int bloodPressure, int pulse, double temp, int height,
			float weight) {
		this.bloodPressure = bloodPressure;
		this.pulse = pulse;
		this.temp = temp;
		this.height = height;
		this.weight = weight;
		TLogger.getInstance().getLogger().log(Level.INFO, "Creating new Vital Signs.");
	}
	
	/**
	 * Method getBloodPressure.
	 * @return int
	 */
	public int getBloodPressure() {
		return bloodPressure;
	}
	
	/**
	 * Method setBloodPressure.
	 * @param bloodPressure int
	 */
	public void setBloodPressure(int bloodPressure) {
		this.bloodPressure = bloodPressure;
	}
	
	/**
	 * Method getPulse.
	 * @return int
	 */
	public int getPulse() {
		return pulse;
	}
	
	/**
	 * Method setPulse.
	 * @param pulse int
	 */
	public void setPulse(int pulse) {
		this.pulse = pulse;
	}
	
	/**
	 * Method getTemp.
	 * @return double
	 */
	public double getTemp() {
		return temp;
	}
	
	/**
	 * Method setTemp.
	 * @param temp double
	 */
	public void setTemp(double temp) {
		this.temp = temp;
	}
	
	/**
	 * Method getHeight.
	 * @return int
	 */
	public int getHeight() {
		return height;
	}
	
	/**
	 * Method setHeight.
	 * @param height int
	 */
	public void setHeight(int height) {
		this.height = height;
	}
	
	/**
	 * Method getWeight.
	 * @return float
	 */
	public float getWeight() {
		return weight;
	}
	
	/**
	 * Method setWeight.
	 * @param weight float
	 */
	public void setWeight(float weight) {
		this.weight = weight;
	}
}
